package com.abc.builder.demo3;

/**
 * Ofo建造者
 */
public class OfoBuilder extends Builder {


   private Bike bike = new Bike();


   @Override
   void buildFrame() {
      bike.setFrame(new CarbonFrame());
   }

   @Override
   Bike createBike() {
      return bike;
   }
}
